import $axios from '../utils/request';             //5

export function getBannerList(proid){
    return $axios.get("pro/detail/"+proid)
}

export function getProList(proid){
    return $axios.get("pro/detail/"+proid)
}

//添加订单
export function getAddOrdList(data){
    return $axios.post("order/addOrder/",data)
}

//获取订单
export function getOrdList(params){
    return $axios.get("order/confirmOrder",{params})
}

//查看全部订单
export function getOrdListAll(params){
    return $axios.get("user/orderlist",{params})
}